package com.oneday.nuo.base.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.oneday.nuo.base.entity.NuoAuthEntity;
import com.oneday.nuo.base.security.user.NuoAuth;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限表(NuoAuth)表数据库访问层
 *
 * @author liushuai
 * @since 2021-03-13 23:36:58
 */
@Mapper
public interface NuoAuthDAO extends BaseMapper<NuoAuthEntity> {

    List<NuoAuth> queryAuthByUserId(@Param(Constants.WRAPPER)QueryWrapper wrapper);
}
